import { PlusSquareOutlined,FontColorsOutlined,RadarChartOutlined } from '@ant-design/icons' 
import User from "../components/User";
import Comp from "../components/Assets";
import Seting from "../components/Seting";
import Phone from "../components/phone";
import Pwd from "../components/Pwd";
import Cusromer from '../components/Customer';
import Sign from '../components/Sign';
import Administrator from '../components/Administrator';
import Space from '../components/Space';
import Rent from '../components/Rent';
import Tenement from '../components/Tenement';
import LeaseTerm from '../components/LeaseTerm';
import Lease from '../components/Lease';
import Tenantry from '../components/Tenantry'
import Repair from '../components/Repair';
import Announcement from '../components/Announcement'
import Feefback from '../components/Feefback'
import Notice from '../components/Notice';
import Redirect from '../util/Redirect';

export default [
    {
        label:'资产',
        key:'comp',
        icon:<PlusSquareOutlined/>,
        path:'comp',
        element:<Redirect comp={<Comp></Comp>} path="/home/comp/phone"></Redirect>,
        children:[
            {
                label:'楼宇',
                key:'phone',
                path:'phone',
                element:<Phone></Phone>
            },
            {
                label:'空间',
                key:'pwd',
                path:'pwd',
                element:<Pwd></Pwd>
            }
        ]
    },
    {
        label:'客户',
        key:'user',
        icon:<FontColorsOutlined/>,
        path:'user',
        element:<User></User>,
        children:[
            {
                label:'客户管理',
                key:'cus',
                path:'cus',
                element:<Cusromer></Cusromer>
            },
            {
                label:'签约联系人',
                key:'sign',
                path:'sign',
                element:<Sign></Sign>
            },
            {
                label:'租期管理员',
                key:'adm',
                path:'adm',
                element:<Administrator></Administrator>
            }
        ]
    },
    {
        label:'招商',
        key:'set',
        icon:<RadarChartOutlined/>,
        path:'set',
        element:<Seting></Seting>,
        children:[
            {
                label:'空间定价',
                key:'space',
                path:'space',
                element:<Space></Space>
            },
            {
                label:'租控',
                key:'rent',
                path:'rent',
                element:<Rent></Rent>
            },
            {
                label:'租约',
                key:'lease',
                path:'lease',
                element:<Lease></Lease>
            }
        ]
    },
    {
        label:'物业服务',
        key:'ten',
        icon:<RadarChartOutlined/>,
        path:'ten',
        element:<Tenement></Tenement>,
        children:[
            {
                label:'租期管理',
                key:'term',
                path:'term',
                element:<LeaseTerm></LeaseTerm>
            },
            {
                label:'租户报修',
                key:'try',
                path:'try',
                element:<Tenantry></Tenantry>
            },
            {
                label:'保修设置',
                key:'pair',
                path:'pair',
                element:<Repair></Repair>
            },
            {
                label:'管理员公告',
                key:'ment',
                path:'ment',
                element:<Announcement></Announcement>
            },
            {
                label:'管理员反馈',
                key:'feedback',
                path:'feedback',
                element:<Feefback></Feefback>
            },
            {
                label:'物流须知',
                key:'tice ',
                path:'tice',
                element:<Notice></Notice>
            }
        ]
    }
]
